package com.wskj.insuranceweb.reporter.service;

import com.wskj.insuranceweb.reporter.mapper.FindingMapper;
import com.wskj.insuranceweb.reporter.pojo.Findings;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FindingServiceImpl implements FindingService {
    @Autowired
    private FindingMapper mapper;

    @Override
    public void addFindings(Findings findings) {
        mapper.addFindings(findings);
    }

    @Override
    public Findings getFinding(String cust) {
        return mapper.getFinding(cust);
    }
}
